home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (4th Edition) / The Business Master - 4th Edition.iso / files / grapties / multimed / install.exe / lha / HLINK.DOC < prev    next >
Text File  |  1993-10-08  |  9KB  |  165 lines

  1.  
  2.  
  3.                          HYPERLINKS AND DEFINITE JUMPS
  4.  
  5.              One of the most complex concepts in  multimedia  creation
  6.          is  hyper-linking  (also  known  as  hyperlinking).   Not all
  7.          multimedia creation programs have this feature, and it is not
  8.          required for making excellent TMW presentations, but  if  you
  9.          master  it,  you  can  add wonderful user interaction to your
  10.          presentations.
  11.  
  12.              Hyperlinking  (as  I define it) is the ability for an end
  13.          user to point to and select something on the  screen  and  be
  14.          taken  to  another  part of your presentation based upon that
  15.          selection.
  16.  
  17.              It is up to you to design screens containing text,  icons
  18.          or  objects  which the end user can select.  It is also up to
  19.          you to create the links.  In other words, if the user  points
  20.          to  X, then you have the presentation run file Z.  You might,
  21.          for instance, design a screen with a frog, a cat,  a  lizard,
  22.          and  an ant.  The user can point to one of these animals, and
  23.          be  taken  to  script  file  with  more   information   about
  24.          amphibian, or mammals, or reptiles, or insects.
  25.  
  26.              Here's  another  example.  You draw a sewing machine.  If
  27.          the users select an area around the needle, you take them  to
  28.          a  script  about  threading the needle.  If they point to the
  29.          bobbin winder, you take them to a "winding  bobbins"  script,
  30.          and if they point to the tensioner, you take them to a script
  31.          which explains the tensioner settings.
  32.  
  33.              Normally  you  build  a  presentation  by  completing the
  34.          screens  containing  icons,  text  or  whatever  you  use  to
  35.          indicate  hyperlinks  first.   We'll call these menu screens.
  36.          Then, you  build  the  scripts  or  files  which  are  to  be
  37.          hyperlinked.  Finally,  you  go  back to the menu screens and
  38.          actually create the links. For each  link,  select  HYPERLINK
  39.          from  a  menu.   You will be asked to type a filename, then a
  40.          rectangle will appear on screen.  Size, shape  and  move  the
  41.          rectangle  to  enclose the area in which your users can click
  42.          to get a link. From this point on, when your users use MSHOW,
  43.          and the menu screen is visible, if users move the  arrow into
  44.          the    invisible    hyperlinked   rectangular   region,   the
  45.          presentation will then show the hyperlinked script.
  46.  
  47.              Of course you can have up to 30 links  per  menu  screen,
  48.          and  as  many  menu  screens  as you like.  For instance, you
  49.          could have a menu screen which shows several  bugs  including
  50.          spiders  and  insects.   If  they  click  on  a picture of an
  51.          insect, then the presentation could show a second menu screen
  52.          showing bees and ants (both insects).  If they click on bees,
  53.          they could be shown yet an other menu screen with honey bees,
  54.          bumblebees, etc.  If they  click  on  bumblebees,  you  might
  55.          finally present a script talking about bumblebees.
  56.  
  57.                                 Definite Jumps
  58.  
  59.              At the end of your bumblebees script, you need a Definite
  60.          Jump. A definite jump will unconditionally take the user to a
  61.          specific script after the current script is shown. When  your
  62.          users   are  done  learning  about  bumblebees,  the  program
  63.          should  not  end.   The  users  may  want  to  find out about
  64.          different  bugs.  So at the end of the bumblebee  script  you
  65.          insert  a  Definite Jump back to the bugs menu script so they
  66.          can go through the process again.  In fact, there should be a
  67.          definite jump back to the bugs menu script from every  single
  68.          hyperlinked  script  in  your  bug  presentation, so the user
  69.          never gets lost, but always returns to the main bug menu.
  70.  
  71.              There  are  other  uses  for  Definite Jump, too, with or
  72.          without hyperlinking.  I often use it as a way to concatenate
  73.          scripts.  For instance, I have a standard advertising  script
  74.          for  The  Multimedia Workshop which I put in almost all of my
  75.          shareware presentations. The last screen in each presentation
  76.          uses a Definite Jump to show the TMW ad.
  77.  
  78.                                     What If
  79.  
  80.              What if you have two overlapping hyperlinked regions?  If
  81.          your  insects  area overlaps your spiders area, what happens?
  82.          The last one in order in your script file is  the  one  which
  83.          will take effect.  If you made a hyperlink for insects first,
  84.          then  the spiders one, and if your end user clicks where both
  85.          hyperlinked areas overlap, then the last hyperlink is the one
  86.          which will work. In this case, your user will be taken to the
  87.          spiders script.
  88.  
  89.              What if the user confronted with  your  bug  menu  script
  90.          clicks  on  an area which has no hyperlink? Perhaps the user
  91.          clicks on a blank area between your spider picture  and  your
  92.          insect  picture.   The  answer  is that TMW's runtime program
  93.          MSHOW.EXE covers the situation perfectly.  If there  are  one
  94.          or  more  hyperlinks in a script file, it will wait patiently
  95.          until the user clicks on a linked area.
  96.              In TMW.EXE, this could create a problem however,  because
  97.          as  soon as a hyperlink is encountered, there would be no way
  98.          to continue building or editing  a  script  file.   Therefore
  99.          TMW.EXE  works a bit differently than MSHOW.EXE.  It will let
  100.          the  presentation  "fall  through"  when  you  click   on   a
  101.          non-hyperlinked  area,  so  you  can continue working on your
  102.          files.
  103.  
  104.              Now,   if  you  are  sharp,  you'll  see  another  little
  105.          problem. How do you let your users out?  There are two  ways.
  106.          One  is to make an icon or something in your menu showing the
  107.          exit, then hyperlink a script which does not  do  a  definite
  108.          jump  back  to  the  bugs menu script.  You can use this as a
  109.          dropout or advertising script.  The other way is to hyperlink
  110.          using STOP, in capital letters as the  filename.   "STOP"  is
  111.          not a file, but a special code to the hyperlinking mechanism,
  112.          to let users out of a full screen hyperlink.
  113.  
  114.                              Another Little Trick
  115.  
  116.              In addition to script files, you can use hyperlink to run
  117.          executable (.EXE, .COM or .BAT)  files  or  to  display  .PCX
  118.          image  files.   You  can  run  a  spreadsheet,  a video game,
  119.          Writer's Dream, even another  MSHOW  presentation  this  way.
  120.          However,  there  is  no  direct way to put a Definite Jump or
  121.          hyperlink into anything other than a  script  file.   If  you
  122.          want  to  run  an executable, then hyperlink or Definite Jump
  123.          back  into  the  presentation,  create  a  new  script  file,
  124.          containing nothing but a hook to the executable (or file, and
  125.          then   the   hyperlink(s)  or  Definite  Jump.   To  hook  an
  126.          executable file into a script, use HOOK PROGRAM from the file
  127.          menu.
  128.  
  129.                                   A Surprise
  130.  
  131.              Maybe  you  figured  this  out  already:  You can use The
  132.          Multimedia Workshop to create your own  custom  picture-based
  133.          program  launcher. For instance, you could make a script file
  134.          with "My Menu" at the  top,  and  a  bunch  of  custom  icons
  135.          representing your favorite programs.  Then hyperlink all your
  136.          icons to your programs.  This way, you can point to your Word
  137.          Perfect  icon,  and run WP.  Or point to your XTree icon, and
  138.          get Xtree. Or point to your picture  of  a  blank  disk,  and
  139.          start FORMAT.COM.
  140.  
  141.              Going  a step further, imagine that you want to sell your
  142.          old used computer to a friend  who  is  computer  illiterate.
  143.          All  he  wants  to do is play Pacman, and write letters.  For
  144.          him, you make a menu which  contains  a  picture  of  Pacman,
  145.          another  of  a letter being written, and a few more for basic
  146.          DOS services like formatting disks and copying  files.   Then
  147.          you  hyperlink  in  .BAT  files  which  actually  perform the
  148.          services desired.  You could even  simplify  it  further  for
  149.          your  friend  by linking in help scripts.  For instance, when
  150.          your friend clicks on the format disk icon, you first present
  151.          some basic information about what FORMAT.COM does, why it  is
  152.          needed, and how to do it.  Then you could offer another menu,
  153.          "Format  A:,  Format B:, Cancel."  If your friend then points
  154.          to the "Format a:" option, you hyperlink a batch  file  which
  155.          says, "FORMAT a:/u/s," or whatever you think is best.
  156.  
  157.             I'll leave you to imagine all the possibilities now...
  158.  
  159.          _____________________________________________________________
  160.                                                           end of file.
  161.  
  162.  
  163.  
  164.  
  165.